﻿@page "/examples/wireframes/base"
@layout WireframeLayout

<MApp Id="inspire">
    <MNavigationDrawer @bind-Value="_drawer"
                       App>

        <!-- Your content -->
    </MNavigationDrawer>

    <MAppBar App>
        <MAppBarNavIcon @onclick="()=>_drawer = !(_drawer ?? false)"></MAppBarNavIcon>

        <MToolbarTitle>Application</MToolbarTitle>
    </MAppBar>

    <MMain>
        <!-- Your content -->
    </MMain>
</MApp>

@code {
    bool? _drawer;
}